package com.yunji.ylexpiration_backstage.mapper;

import com.yunji.ylexpiration_backstage.entity.FurnClassificationtype;
import com.yunji.ylexpiration_backstage.entity.FurnClassificationtypeExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface FurnClassificationtypeMapper {
    int countByExample(FurnClassificationtypeExample example);

    int deleteByExample(FurnClassificationtypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FurnClassificationtype record);

    int insertSelective(FurnClassificationtype record);

    List<FurnClassificationtype> selectByExample(FurnClassificationtypeExample example);

    FurnClassificationtype selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FurnClassificationtype record, @Param("example") FurnClassificationtypeExample example);

    int updateByExample(@Param("record") FurnClassificationtype record, @Param("example") FurnClassificationtypeExample example);

    int updateByPrimaryKeySelective(FurnClassificationtype record);

    int updateByPrimaryKey(FurnClassificationtype record);

    //根据商品id查询对应的类型
    FurnClassificationtype selectByparentId(Integer parentId);

}